package com.wondertek.poms.common.constant;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class Constants {
    /**
     * 系统同步总开关
     */
    public static final String ON_OFF = "off";

    /**
     * 分产品运营 1:大屏，2:小屏，3:VR
     */
    public static final String SYNC_BIG = "1";
    /**
     * 分产品运营 1:大屏，2:小屏，3:VR
     */
    public static final String SYNC_SMALL = "2";
    /**
     * 分产品运营 1:大屏，2:小屏，3:VR
     */
    public static final String SYNC_VR = "3";
    
    /**
     * 是否 是
     */
    public static final String YES_1 = "1";
    /**
     * 是否 否
     */
    public static final String NO_0 = "0";

    /**
     * 是否 是
     */
    public static final int INT_YES_1 = 1;
    /**
     * 是否 否
     */
    public static final int INT_NO_0 = 0;

    /**
     * 是否删除 否
     */
    public static final int DELETE_0 = 0;
    /**
     * 是否删除 是
     */
    public static final int DELETE_1 = 1;
    /**
     * deleted 停用
     */
    public static final int DELETE_2 = 2;
    
    /**
     * 已选规则 1.已选 2.限制
     */
    public static final int PRODUCT_RULE_TYPE_1 = 1;
    /**
     * 已选规则 1.已选 2.限制
     */
    public static final int PRODUCT_RULE_TYPE_2 = 2;

    /**
     * 已选规则 1-待选，2-已选，3-释放, 4-限制
     */
    public static final int RULE_TYPE_1 = 1;
    /**
     * 已选规则 1-待选，2-已选，3-释放, 4-限制
     */
    public static final int RULE_TYPE_2 = 2;
    /**
     * 已选规则 1-待选，2-已选，3-释放, 4-限制
     */
    public static final int RULE_TYPE_3 = 3;
    /**
     * 限制规则 1-待选，2-已选，3-释放, 4-限制
     */
    public static final int RULE_TYPE_4 = 4;

    /**
     * 日志新增
     */
    public static final int LOG_ADD = 1;
    /**
     * 日志更新
     */
    public static final int LOG_UPDATE = 1;
    /**
     * 日志删除
     */
    public static final int LOG_DELETE = 1;


    /**
     * <b>Fields</b> SYNC_TASK_OPERATION_1 : 1新增，2变更(不涉及媒体文件更新)，3删除，4变更(涉及媒体文件更新)
     */
    public static final String SYNC_TASK_OPERATION_1 = "1";
    /**
     * <b>Fields</b> SYNC_TASK_OPERATION_2 : 1新增，2变更(不涉及媒体文件更新)，3删除，4变更(涉及媒体文件更新)
     */
    public static final String SYNC_TASK_OPERATION_2 = "2";
    /**
     * <b>Fields</b> SYNC_TASK_OPERATION_3 : 1新增，2变更(不涉及媒体文件更新)，3删除，4变更(涉及媒体文件更新)
     */
    public static final String SYNC_TASK_OPERATION_3 = "3";
    /**
     * <b>Fields</b> SYNC_TASK_OPERATION_4 : 1新增，2变更(不涉及媒体文件更新)，3删除，4变更(涉及媒体文件更新)
     */
    public static final String SYNC_TASK_OPERATION_4 = "4";


    /**
     * <b>Fields</b> SYNC_CONTENT_SEPARATOR : 同步内容id分隔符
     */
    public static final String SYNC_CONTENT_SEPARATOR = ";";

    /**
     * <b>Fields</b> SYNC_CONTENT_SEPARATOR : 默认分隔符
     */
    public static final String DEFAULT_SEPARATOR = ",";

    /**
     * <b>Fields</b> REDIS_KEY_SPLIT : redis的key值分隔符
     */
    public static final String REDIS_KEY_SPLIT = "#";

    /**
     * 来源平台 1：mcms
     */
    public static final String DEFAULT_ACCESS_PLATFORM_ID = "1";

    /**
     * 清理缓存间隔时间以及默认过期时间 分钟
     */
    public static final int DEFALUT_EXPIRE = 10;

    /**
     * <b>Fields</b> sync_task_status_1 : 成功
     */
    public static final int SYNC_TASK_STATUS_1 = 1;
    /**
     * <b>Fields</b> sync_task_status_2 : 失败
     */
    public static final int SYNC_TASK_STATUS_2 = 3;
    /**
     * <b>Fields</b> sync_task_status_3 : 执行中
     */
    public static final int SYNC_TASK_STATUS_3 = 3;

    /**
     * <b>Fields</b> SYNC_TASK_ROLLBACK_0 : 成功
     */
    public static final int SYNC_TASK_ROLLBACK_0 = 0;
    /**
     * <b>Fields</b> SYNC_TASK_ROLLBACK_1 : 失败
     */
    public static final int SYNC_TASK_ROLLBACK_1 = 1;
    /**
     * <b>Fields</b> SYNC_TASK_ROLLBACK_2 : 部分失败
     */
    public static final int SYNC_TASK_ROLLBACK_2 = 2;
    /**
     * <b>Fields</b> SYNC_OPERATION_1 : 同步新增
     */
    public static final String SYNC_OPERATION_1 = "1";
    /**
     * <b>Fields</b> SYNC_OPERATION_2 : 同步设置
     */
    public static final String SYNC_OPERATION_2 = "2";
    /**
     * <b>Fields</b> SYNC_OPERATION_3 : 同步删除
     */
    public static final String SYNC_OPERATION_3 = "3";
    /**
     * <b>Fields</b> PRD_CONT_PUBLISH_STATUS_10 : 节目发布状态：待发布
     */
    public static final int PRD_CONT_PUBLISH_STATUS_10 = 10;
    /**
     * <b>Fields</b> PRD_CONT_PUBLISH_STATUS_12 : 节目发布状态：发布成功
     */
    public static final int PRD_CONT_PUBLISH_STATUS_12 = 12;
    /**
     * <b>Fields</b> PRD_CONT_PUBLISH_STATUS_13 : 节目发布状态：发布失败
     */
    public static final int PRD_CONT_PUBLISH_STATUS_13 = 13;


    /**
     * <b>Fields</b> PRD_CONT_PUBLISH_STATUS_20 : 节目发布状态：待撤回
     */
    public static final int PRD_CONT_PUBLISH_STATUS_20 = 20;
    /**
     * <b>Fields</b> PRD_CONT_PUBLISH_STATUS_22 : 节目发布状态：撤回成功
     */
    public static final int PRD_CONT_PUBLISH_STATUS_22 = 22;
    /**
     * <b>Fields</b> PRD_CONT_PUBLISH_STATUS_23 : 节目发布状态：撤回失败
     */
    public static final int PRD_CONT_PUBLISH_STATUS_23 = 23;


    /**
     * <b>Fields</b> CONTENT_OPERATE_0 :  0：内容操作
     */
    public static final String CONTENT_OPERATE_0 = "0";


    /**
     * <b>Fields</b> PROCONT_OPERATE_1 :  1：节目操作操作
     */
    public static final String PROCONT_OPERATE_1 = "1";


    /**
     * <b>Fields</b>OPERATE_TYPE_PUBLISH :发布
     */
    public static final String OPERATE_TYPE_PUBLISH = "0";

    /**
     * <b>Fields</b> OPERATE_TYPE_RECALL :撤回
     */
    public static final String OPERATE_TYPE_RECALL = "1";

    /**
     * redis 系统配置key
     */
    public static final String REDIS_KEY_SYSTEM_CKEY = "poms:system-ckey";
    public static final String REDIS_KEY_CHANNEL = "poms:channel";
    public static final String REDIS_KEY_PRODUCT = "poms:product";
    public static final String REDIS_KEY_STRATEGY_DETAILS = "poms:strategy_detail";
    public static final String REDIS_KEY_BCDICT_TYPE = "poms-setting:dict-type";
    
    
    /**
     * redis同步锁使用
     */
	public static final String SYNC_LOCK_PREFIX = "poms-sync-lock-";
	public static final String SYNC_LOCK_REQUESTID = "poms-requestId-lock-";
	public static final String ACCESSID_DELAY_TOPIC = "accessid_delay_topic";
	
    /**
     * validate 框架使用
     */
    public static final String VALIDATE_DEFAULT = "DEFAULT";
    public static final String VALIDATE_UPDATE = "UPDATE";
    public static final String VALIDATE_DEL = "DELETE";
    public static final String VALIDATE_FIND = "FIND";
    public static final String VALIDATE_ERROR = "validate error :{}";

    /**
     * 接收转图的队列名
     */
    public static final String QUEUE_TRANS_IMG = "poms.trans.image";
    /**
     * 转图回执的队列名
     */
    public static final String QUEUE_TRANS_IMG_BACK = "poms.trans.image.back";

    /**
     * 接收日志的队列名
     */
    public static final String LOG_QUEUE = "poms.system.log.queue";

    /**
     * 同步内容队列
     */
    public static final String QUEUE_SYNC_CONTENT = "poms.sync.content";
    
    /**
     * 入包批价队列
     */
    public static final String QUEUE_NEW_POMS_SYNC="poms.new.sync";
    /**
     * 同步内容延时队列
     */
    public static final String QUEUE_SLOW_SYNC_CONTENT = "poms.slow.sync.content";
    /**
     * 同步节目队列
     */
    public static final String QUEUE_SYNC_PRDCONT = "poms.sync.prdCont";
    /**
     * 节目发布队列
     */
    public static final String QUEUE_SYNC_PUBLISH = "poms.sync.publish";
    /**
     * 权益树，产品组，产品包，渠道包推送记录 给能力
     */
    public static final String QUEUE_PRDINFO_PUBLISH = "POMS_MSG";
    /**
     * 能力
     */
    public static final String QUEUE_POMS_TREE = "POMS.TREE";

    /**
     * 节目保存es队列
     */
    public static final String QUEUE_ES_PRD_CONT = "queue.es.prd.cont";
    /**
     * 播控保存es队列
     */
    public static final String QUEUE_ES_BC_HISTORY = "queue.es.bc.histroy";
    /**
     * 发布保存es队列
     */
    public static final String QUEUE_ES_PUBLISH_LOG = "queue.es.publish.log";

    /**
     * 当溢出时阻塞到队列任务数下降到队列总大小的百分比
     */
    public static final float OVERFLOW_WAIT = 0.8f;

    /**
     * <b>Fields</b> syncFile_baseName : 媒资文件名
     */
    public static final String syncFile_baseName = "Metadata_M.xml";
    /**
     * <b>Fields</b> syncFile_baseName : 媒资文件名
     */
    public static final String image_baseName = "display";

    /**
     * <b>Fields</b> REDIS_MQ : redis队列名
     */
    public static final String REDIS_MQ = "poms-pre-in";
    public static final String DEPOSITORY_PATH = "/tmp/despository";

    /**
     * <b>Fields</b> REDIS_MQ : redis队列名   平均每小时 1000以下内容
     */
    public static double LIMIT_VALUE = 1;


    /**
     * 发布状态 - 待发布
     */
    public static final int PUB_STATUS_10 = 10;
    /**
     * 发布状态 - 发布中
     */
    @Deprecated
    public static final int PUB_STATUS_11 = 11;
    /**
     * 发布状态 - 已发布
     */
    public static final int PUB_STATUS_12 = 12;
    /**
     * 发布状态 - 发布失败
     */
    public static final int PUB_STATUS_13 = 13;
    /**
     * 发布状态 - 待撤回
     */
    @Deprecated
    public static final int PUB_STATUS_20 = 20;
    /**
     * 发布状态 - 撤回中
     */
    @Deprecated
    public static final int PUB_STATUS_21 = 21;
    /**
     * 发布状态 - 已撤回
     */
    public static final int PUB_STATUS_22 = 22;
    /**
     * 发布状态 - 撤回失败
     */
    public static final int PUB_STATUS_23 = 23;
    /**
     * 发布状态 - 无发布匹配规则
     */
    public static final int PUB_STATUS_30 = 30;
    
    /**
     * <b>Fields</b> ASSET_TYPE_7 : 精简编码
     */
    public static final String ASSET_TYPE_7 = "7";
    /**
     * <b>Fields</b> ASSET_TYPE_6 : 精简直播
     */
    public static final String ASSET_TYPE_8 = "8";
    /**
     * <b>Fields</b> ASSET_TYPE_6 : 精简模拟直播
     */
    public static final String ASSET_TYPE_9 = "9";
    /**
     * <b>Fields</b> ASSET_TYPE_6 : 互联网直播
     */
    public static final String ASSET_TYPE_12 = "12";
    
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_6 : 剧集（壳）
     */
    public static final String ASSET_FORM_TYPE_6 = "6";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_7 : 剧集的单集
     */
    public static final String ASSET_FORM_TYPE_7 = "7";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_8 : 非剧集
     */
    public static final String ASSET_FORM_TYPE_8 = "8";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_9 : 专辑
     */
    public static final String ASSET_FORM_TYPE_9 = "9";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_10 : 内容集
     */
    public static final String ASSET_FORM_TYPE_10 = "10";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_11 : 单篇
     */
    public static final String ASSET_FORM_TYPE_11 = "11";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_12 : 图文集
     */
    public static final String ASSET_FORM_TYPE_12 = "12";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_13 : 直播节目
     */
    public static final String ASSET_FORM_TYPE_13 = "13";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_14 : 单片节目壳
     */
    public static final String ASSET_FORM_TYPE_14 = "14";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_15 : 直播节目壳
     */
    public static final String ASSET_FORM_TYPE_15 = "15";
    /**
     * <b>Fields</b> ASSET_FORM_TYPE_16 : 融媒体
     */
    public static final String ASSET_FORM_TYPE_16 = "16";
    /**
     * <b>Fields</b> PRD_CONT_TYPE_8 : 服务类型 :精简直播
     */
    public static final String PRD_CONT_TYPE_8 = "8";

    /**
     * <b>Fields</b> PRD_CONT_TYPE_9 : 服务类型 :精简模拟直播
     */
    public static final String PRD_CONT_TYPE_9 = "9";

    /**
     * <b>Fields</b> PRD_CONT_TYPE_12 : 服务类型 :互联网直播
     */
    public static final String PRD_CONT_TYPE_12 = "12";
    
    /**
     * <b>Fields</b> ASSET_STATUS_0 : 新增
     */
    public static final int ASSET_STATUS_0 = 0;
    /**
     * <b>Fields</b> ASSET_STATUS_1 : 变更（不涉及媒体文件的更新）
     */
    public static final int ASSET_STATUS_1 = 1;
    /**
     * <b>Fields</b> ASSET_STATUS_2 : 删除
     */
    public static final int ASSET_STATUS_2 = 2;
    /**
     * <b>Fields</b> ASSET_STATUS_3 : 变更（涉及媒体文件的更新）
     */
    public static final int ASSET_STATUS_3 = 3;
    
    /**
     * <b>Fields</b> PRD_INFO_PUBLISH_STATUS_1 : 商品包发布状态 1:待发布
     */
    public static final int PRD_INFO_PUBLISH_STATUS_1 = 1;
    /**
     * <b>Fields</b> PRD_INFO_PUBLISH_STATUS_2 : 商品包发布状态 2:已发布
     */
    public static final int PRD_INFO_PUBLISH_STATUS_2 = 2;
    /**
     * <b>Fields</b> PRD_INFO_PUBLISH_STATUS_2 : 商品包发布状态 3：已撤回
     */
    public static final int PRD_INFO_PUBLISH_STATUS_3 = 3;
    /**
     * 商品包发布操作码
     */
    public static final int PRD_INFO_OPR_CODE_1 = 1;
    /**
     * 商品包撤回操作码
     */
    public static final int PRD_INFO_OPR_CODE_2 = 2;
    // 同步数据给能力 1发布 2删除
    /**
     * 发布
     */
    public static final String SYNC_PUBLISH = "1";
    /**
     * 删除
     */
    public static final String SYNC_DELETE = "2";

    /**
     * <b>Fields</b> ASSET_HASMEDIA_0 : 媒资是否有媒体文件 0：没有
     */
    public static final int ASSET_HASMEDIA_0 = 0;
    /**
     * <b>Fields</b> ASSET_HASMEDIA_1 : 媒资是否有媒体文件 1：有
     */
    public static final int ASSET_HASMEDIA_1 = 1;

    /**
     * <b>Fields</b> RULE_HASMEDIAFILE_0 : 规则是否可无媒体文件 0:必须有媒体文件
     */
    public static final int RULE_HASMEDIAFILE_0 = 0;
    /**
     * <b>Fields</b> RULE_HASMEDIAFILE_1 : 规则是否可无媒体文件 1:可无媒体文件
     */
    public static final int RULE_HASMEDIAFILE_1 = 1;
    /**
     * 播控状态 0:待播控
     */
    public static final int BC_STATUS_0 = 0;
    /**
     * 播控状态 1:播控通过
     */
    public static final int BC_STATUS_1 = 1;
    /**
     * 播控状态 2:播控拒绝
     */
    public static final int BC_STATUS_2 = 2;
    
    /**
     * <b>Fields</b> DISTON_STATUS_10 : 待分发
     */
    public static final int DISTON_STATUS_10 = 10;
    /**
     * <b>Fields</b> DISTON_STATUS_11 : 分发中
     */
    public static final int DISTON_STATUS_11 = 11;
    /**
     * <b>Fields</b> DISTON_STATUS_12 : 分发成功
     */
    public static final int DISTON_STATUS_12 = 12;
    /**
     * <b>Fields</b> DISTON_STATUS_13 : 分发失败
     */
    public static final int DISTON_STATUS_13 = 13;
    /**
     * <b>Fields</b> DISTOFF_STATUS_20 : 待下线
     */
    public static final int DISTOFF_STATUS_20 = 20;
    /**
     * <b>Fields</b> DISTOFF_STATUS_21 : 下线中
     */
    public static final int DISTOFF_STATUS_21 = 21;
    /**
     * <b>Fields</b> DISTOFF_STATUS_22 : 下线成功
     */
    public static final int DISTOFF_STATUS_22 = 22;
    /**
     * <b>Fields</b> DISTOFF_STATUS_23 : 下线失败
     */
    public static final int DISTOFF_STATUS_23 = 23;
    
    /**
     * <b>Fields</b> RECALL_STATUS_NO : 未发生撤回动作
     */
    public static final int RECALL_STATUS_0 = 0;
    /**
     * <b>Fields</b> RECALL_STATUS_YES : 已发生撤回动作
     */
    public static final int RECALL_STATUS_1 = 1;
    
    /**
     * <b>Fields</b> EMERGENCY_0 : 非紧急
     */
    public static final String EMERGENCY_0 = "0";
    /**
     * <b>Fields</b> EMERGENCY_1 : 紧急
     */
    public static final String EMERGENCY_1 = "1";
    
    /**
     * <b>Fields</b> SUPER_BC_TYPE_1 : 先上后审
     */
    public static final String SUPER_BC_TYPE_1 = "1";
    /**
     * <b>Fields</b> SUPER_BC_TYPE_2 : 先审后上   冗余上游代码 0 或 null 等同于2 
     */
    public static final String SUPER_BC_TYPE_0 = "0";
    public static final String SUPER_BC_TYPE_2 = "2";
    /**
     * <b>Fields</b> SUPER_BC_TYPE_3 : 已内审不请求外部播控
     */
    public static final String SUPER_BC_TYPE_3 = "3";
    
    /**
     * 新批价系统标记
     */
    public static final Integer SYSTEM_FLAG_1 = 1;
    
    /**
     * 判断直播&内容数据来源依据
     */
    private static final Integer [] TYPE = {8,9,12};
    private static final Integer [] ASSET_TYPE = {8,15};
    public static final List<Integer> typeCollect = Collections.unmodifiableList(Arrays.asList(TYPE));
    public static final List<Integer> assetTypeCollect = Collections.unmodifiableList(Arrays.asList(ASSET_TYPE));
    
    /**
     * 操作码 1:新增 2:更新不包括媒体文件 3:删除 4:更新包含媒体文件
     */
    public static String SYNC_POMS_OPRCODE_CONTENT_ADD = "1";
    /**
     * 操作码 1:新增 2:更新不包括媒体文件 3:删除 4:更新包含媒体文件
     */
	public static String SYNC_POMS_OPRCODE_CONTENT_UPDATE_NOT_MEDIA="2";
	/**
     * 操作码 1:新增 2:更新不包括媒体文件 3:删除 4:更新包含媒体文件
     */
	public static String SYNC_POMS_OPRCODE_CONTENT_DELETE="3";
	/**
     * 操作码 1:新增 2:更新不包括媒体文件 3:删除 4:更新包含媒体文件
     */
	public static String SYNC_POMS_OPRCODE_CONTENT_UPDATE_MEDIA="4";
	
	/**
	 * 新增状态
	 */
	public static long CONTENT_STATUS_ADD = 0L;
	/**
	 * 变更（不涉及媒体文件的更新）
	 */
	public static long CONTENT_STATUS_UPDATE_NOT_MEDIA = 1L;
	/**
	 * 删除状态
	 */
	public static long CONTENT_STATUS_DELETE = 2L;
	/**
	 * 变更（涉及媒体文件的更新）
	 */
	public static long CONTENT_STATUS_UPDATE_MEDIA = 3L;

    /**
     * 是主关键词
     */
    public static final String CONTENT_IS_PRIMARY_KEYWORD = "1";

    /**
     * 支持多屏续播
     */
    public static final String MULTI_SCREEN_SIGN = "支持多屏续播";

    public static final String ASSET_ID = "AssetID";
    public static final String FORM_TYPE = "FormType";
    public static final String LIVE_CONTENT_ID = "LiveContentID";
    public static final String SERIAL_CONTENT_ID = "SerialContentID";
    public static final String SERIAL_COUNT = "SerialCount";
    public static final String SERIAL_SEQUENCE = "SerialSequence";
    public static final String NAME = "Name";
    public static final String PRD_TYPE = "Type";
    public static final String CONTENT_ID = "ContentID";
    public static final String COPYRIGHT_OBJECT_ID = "CopyRightObjectID";
    public static final String CDuration = "CDuration";
    public static final String DISPLAY_TYPE = "DisplayType";
    public static final String COPYRIGHT = "CopyRight";

    /**
     * <b>Fields</b> MOVE_STATUS_0 : 移包状态 0：待移动
     */
    public static final int MOVE_STATUS_0 = 0;
    /**
     * <b>Fields</b> MOVE_STATUS_1 : 移包状态 1：准备移动
     */
    public static final int MOVE_STATUS_1 = 1;
    /**
     * <b>Fields</b> MOVE_STATUS_2 : 移包状态 2：移动中
     */
    public static final int MOVE_STATUS_2 = 2;
    /**
     * <b>Fields</b> MOVE_STATUS_3 : 移包状态 3：移动成功
     */
    public static final int MOVE_STATUS_3 = 3;
    /**
     * <b>Fields</b> MOVE_STATUS_4 : 移包状态  4:下线
     */
    public static final int MOVE_STATUS_4 = 4;
    /**
     * <b>Fields</b> MOVE_STATUS_5 : 移包状态 5:处理失败
     */
    public static final int MOVE_STATUS_5 = 5;

    /**
     * 计费类型 - 0:产品计费
     */
    public static final int CHARGE_TYPE_0 = 0;
    /**
     * 计费类型 - 1:售价名称
     */
    public static final int CHARGE_TYPE_1 = 1;
    /**
     * 计费类型 - 2:权益节点
     */
    public static final int CHARGE_TYPE_2 = 2;

    /**
     * 计费点状态 1:待同步
     */
    public static final int CHARGE_STATUS_1 = 1;
    /**
     * 计费点状态 2:已同步
     */
    public static final int CHARGE_STATUS_2 = 2;
    /**
     * 计费点状态 3:已下线
     */
    public static final int CHARGE_STATUS_3 = 3;

    /**
     * 计费点组状态 1:已发布
     */
    public static final int GROUP_STATUS_1 = 1;
    /**
     * 计费点组状态 2:已撤回
     */
    public static final int GROUP_STATUS_2 = 2;
    /**
     * 计费点组状态 3:待发布
     */
    public static final int GROUP_STATUS_3 = 3;
    /**
     * 计费点组状态 4:发布失败
     */
    public static final int GROUP_STATUS_4 = 4;
    /**
     * 计费点组状态 5:删除
     */
    public static final int GROUP_STATUS_5 = 5;

    /**
     * 已发布
     */
    public static final Integer CHARGE_STATUS_PUBLISH = 0;
    /**
     * 已撤回
     */
    public static final Integer CHARGE_STATUS_RECALL = 1;
    /**
     * 待发布
     */
    public static final Integer CHARGE_STATUS_WAIT = 2;
    /**
     * 发布失败
     */
    public static final Integer CHARGE_STATUS_FAILED = 3;
    /**
     * 删除
     */
    public static final Integer CHARGE_STATUS_DELETE = 4;
    /**
     * 新增
     */
    public static final Integer CHARGE_STATUS_ADD = 5;

    /**
     * 基本计费
     */
    public static final Integer CHARGE_CONFIG_TYPE_BASE = 1;
    /**
     * 促销计费
     */
    public static final Integer CHARGE_CONFIG_TYPE_SALES = 2;
    /**
     * 限免计费
     */
    public static final Integer CHARGE_CONFIG_TYPE_FREE = 3;
    /**
     * 码率计费
     */
    public static final Integer CHARGE_CONFIG_TYPE_RATE = 4;
    /**
     * 下载计费
     */
    public static final Integer CHARGE_CONFIG_TYPE_DOWNLOAD = 5;

    /**
     * kafka节目发布状态 1： 发布
     */
    public static final int PRD_CONT_PUBLISH_1 = 1;
    /**
     * kafka节目发布状态 2： 撤回
     */
    public static final int PRD_CONT_PUBLISH_2 = 2;
    /**
     * kafka节目发布状态 3： 删除
     * 就是撤回+删除节目
     */
    public static final int PRD_CONT_PUBLISH_3 = 3;
    /**
     * 自动发布
     */
    public static final int PRD_CONT_PUBLISH_4 = 4;


    /**
     * message should be always sent to "poms.demo.delay.queue.dead.letter.queue"
     * and after 30_000 ms
     * app will consume this message from "poms.demo.delay.queue.output.queue"
     */
    public static final String POMS_DEAD_LETTER_QUEUE = "poms.dead.letter.queue";
    public static final String POMS_DELAY_QUEUE = "poms.delay.queue";
    public static final Integer DELAY_QUEUE_TTL = 300_000;
}
